package volatiles;

/**
 * @Author Klys
 * @Date 2023/4/22 16:14
 * @Description
 * @Version 1.0
 */
class Shop {
    volatile int a = 1;

    public void saleOne() {
        this.a = a - 1;
    }
}
